Edit Task: SetPossibilityResourceRange
Format
SCHED / EditTask '<TaskName>' SetPossibilityResourceRange '<PossibilityName>' '<ResourceName>' <MinRangeApplies> <MinRangeValue> <MaxRangeApplies> <MaxRangeValue>
Description
The SetPossibilityResourceRange attribute under EditTask defines the range constraint for a single task possibility.
Parameters
Parameter | Description |
---|---|
PossibilityName | A string of text with a comma delimited list of resources in the possibility, surrounded by single quotes. Order is not required and the resource names should not be in quotes. |
Resource Name | A string of text in single quotes of the resource name that is being defined within the command. |
MinRangeApplies | A Boolean value that defines whether there is a minimum range constraint. |
MinRangeValue | A double value that represents the minimum range constraint value. |
MaxRangeApplies | A Boolean value that defines whether there is a maximum range constraint. |
MaxRangeValue | A double value that represents the maximum range constraint value. |
Examples
Allow any minimum capacity, and set a maximum of 15 capacity units for ResA in the possibility containing ResA and ResB
SCHED / EditTask 'TaskA' SetPossibilityResourceRange 'ResA,ResB' 'ResA' False -1 True 15